package net.moonbiter.ebs;

public class InputDef {
	private boolean optional;
	private Class<?> type;
	
	public InputDef(Class<?> typeValue, boolean optionalValue){
		optional = optionalValue;
		type = typeValue;
	}
	
	public boolean isOptional() {
		return optional;
	}

	public Class<?> getType() {
		return type;
	}

	@Override
	public String toString() {
		return getType().getCanonicalName()+", optional? "+isOptional();
	}
	
}
